﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SharpMail
{
    public class Reply
    {
        public int Code { get; protected set; }
        public IEnumerable<string> Arguments { get; protected set; }
        public string Text { get; protected set; }


        public Reply(int code)
        {
            this.Code = code;
            this.Arguments = new List<string>();
        }

        public Reply(int code, IEnumerable<string> arguments)
            : this(code)
        {
            this.Arguments = arguments;
        }

        public Reply(int code, IEnumerable<string> arguments, string text)
            : this(code, arguments)
        {
            this.Text = text;
        }
    }
}
